Skip to content

feat!: support Angular 21 and 22 via peerDependencies - #531

Merged
ShaneK merged 5 commits into
major-9.0from
feat/ng22
Jul 9, 2026
Merged

feat!: support Angular 21 and 22 via peerDependencies#531
ShaneK merged 5 commits into
major-9.0from
feat/ng22

Conversation

@ShaneK

@ShaneK ShaneK commented Jun 10, 2026

Copy link
Copy Markdown
Member

Description

Currently, eslint and prettier checks are no-ops and the limit for support is at Angular 20. This PR re-enables eslint and prettier checks and adds support for both Angular 21 and Angular 22. It is a breaking change due to dropping support for Angular 20.

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

@ShaneK
ShaneK requested a review from brandyscarney June 10, 2026 19:50

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment on the Jira ticket!

Comment thread package.json
"path": "./node_modules/cz-conventional-changelog"
}
},
"prettier": "@ionic/prettier-config",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed?

@ShaneK ShaneK Jul 9, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it hasn't been updated in so long that it breaks everything to try to include it. Nothing seems to use it anymore, so moved away from it here too.

brandyscarney
brandyscarney previously approved these changes Jul 2, 2026

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it out and everything looks good now! I did have one comment about the prettier change though.

@ShaneK
ShaneK changed the base branch from main to major-9.0 July 9, 2026 16:19
@ShaneK
ShaneK merged commit ff4d028 into major-9.0 Jul 9, 2026
2 checks passed
ShaneK added a commit that referenced this pull request Aug 19, 2026
* feat!: support Angular 21 and 22 via peerDependencies (#531)

* fix(ci): fixing eslint and prettier

* feat!: support Angular 21 and 22 via peerDependencies

* fix: regenerating lock files

* fix(schematics): default page and component schematics to standalone

* chore(npm): updating package-lock.json

* fix(schematics): update templates to Ionic 9 component import paths

* fix(schematics): repair generated component code and route registration

BREAKING CHANGE: Generated code now targets Ionic 9 and Angular 21 or 22. Pages
and components import `IonicModule` from `@ionic/angular/lazy` and standalone
components from the `@ionic/angular` root, which is the Ionic 9 export layout,
so generated code no longer compiles against Ionic 8. The `page` and `component`
schematics now default to standalone, and peerDependencies drop Angular 20 and
below.
ShaneK added a commit that referenced this pull request Aug 19, 2026
* docs: correct typo in monorepo description (#522)

* chore(npm): Update release npm action to stop using tokens (#526)

* Update release yaml to use trusted publishers approach

* Update cd.yml

* Finetuned workflows triggers and improved linting issues (#527)

* feat(many): support for Ionic Framework v9 (#532)

* feat!: support Angular 21 and 22 via peerDependencies (#531)

* fix(ci): fixing eslint and prettier

* feat!: support Angular 21 and 22 via peerDependencies

* fix: regenerating lock files

* fix(schematics): default page and component schematics to standalone

* chore(npm): updating package-lock.json

* fix(schematics): update templates to Ionic 9 component import paths

* fix(schematics): repair generated component code and route registration

BREAKING CHANGE: Generated code now targets Ionic 9 and Angular 21 or 22. Pages
and components import `IonicModule` from `@ionic/angular/lazy` and standalone
components from the `@ionic/angular` root, which is the Ionic 9 export layout,
so generated code no longer compiles against Ionic 8. The `page` and `component`
schematics now default to standalone, and peerDependencies drop Angular 20 and
below.

---------

Co-authored-by: mohammad altamash <78483966+Shaikhaltamash861@users.noreply.github.com>
Co-authored-by: Gonçalo M. <goncalo.martins@outsystems.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants